package com.yao.component.circle.dataobject;

import java.io.Serializable;

/**
 * 对应一条评论对象
 */
public class Message implements Serializable{
    //TYPE_COMMENT 仅对发动态的人评论
    public static final int TYPE_COMMENT = 1;
    //TYPE_REPLY 发动态的人以及相互认识的之间可以互相回复信息
    public static final int TYPE_REPLY = 2;


    private String id;

    private String createTime;

    // 评论类型
    private int messageType;

    private String fromCircleUserId;

    private String toCircleUserId;

    private String fromCircleUserName;

    private String toCircleUserName;
    // 评论或者回复的内容
    private String content;

    private String postId;

    private int index;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getMessageType() {
        return messageType;
    }

    public void setMessageType(int messageType) {
        this.messageType = messageType;
    }

    public String getFromCircleUserId() {
        return fromCircleUserId;
    }

    public void setFromCircleUserId(String fromCircleUserId) {
        this.fromCircleUserId = fromCircleUserId;
    }

    public String getToCircleUserId() {
        return toCircleUserId;
    }

    public void setToCircleUserId(String toCircleUserId) {
        this.toCircleUserId = toCircleUserId;
    }

    public String getFromCircleUserName() {
        return fromCircleUserName;
    }

    public void setFromCircleUserName(String fromCircleUserName) {
        this.fromCircleUserName = fromCircleUserName;
    }

    public String getToCircleUserName() {
        return toCircleUserName;
    }

    public void setToCircleUserName(String toCircleUserName) {
        this.toCircleUserName = toCircleUserName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }
}
